@import './variables.less';

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #f1f1f2;
  border-radius: 8px;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
}

.container {
  margin: 0 auto;
  padding: 24px;
}

.flex {
  display: flex;
}

.fc-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-head {
  margin-top: 20px;
  margin-bottom: 40px;

  .title {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
  }

  .buttons {
    display: flex;

    .anticon {
      font-size: 20px;
    }

    .ant-progress {
      line-height: 1;
    }

    .ant-progress.disabled {
      cursor: not-allowed;
    }

    .anticon,
    .ant-progress {
      padding: 10px;
      border-radius: 4px;
      cursor: pointer;

      &:hover {
        background: #000829;
      }
    }
  }
}

.card {
  padding: 1px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0px 24px 36px rgba(0, 0, 0, 0.05);
  .card-header {
    width: 100%;
    padding-top: 30px;
    position: relative;
    .card-tab {
      font-size: 24px;
      display: inline-block;
      width: 50%;
      text-align: center;
      color: fade(@p-color, 40);
      font-family: @fre-font;
      cursor: pointer;
    }
    .card-tab-active {
      color: @p-color;
    }
  }

  .card-body {
    display: grid;
    grid-auto-rows: auto;
    row-gap: 12px;
    padding: 32px 24px;
    // background-color: #131a35;
    opacity: 0.9;
    border-radius: 4px;
  }
}

.lp-icons {
  display: flex !important;
  align-items: center;

  .icons {
    display: flex;
    flex-direction: row;

    img {
      border-radius: 50%;
      width: 20px;
      height: 20px;
    }
  }
}

.ant-tooltip-inner {
  display: inline-block;

  p {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    color: @text-color;
  }

  .swap-info {
    font-size: 12px;
    line-height: 20px;
    color: @text-color;

    .info {
      display: grid;
      justify-content: space-between;
      align-items: center;
      padding: 4px 0;
      gap: 10px;
      grid-template-columns: minmax(auto, 1fr) auto auto;

      .symbol {
        opacity: 0.75;
      }

      .address {
        padding: 2px 4px;
        background: @bg-color;
        border-radius: 4px;
        opacity: 0.75;
      }

      .action {
        font-size: 16px;
        cursor: pointer;

        &:hover {
          color: @primary-color;
        }
      }
    }
  }
}

.custom-input {
  outline: none;
  border: none;
  height: 60px;
  line-height: 60px;
  font-size: 18px;
  color: @p-color;
  border-radius: 12px;
  text-indent: 20px;
  font-weight: bold;
  width: 100%;
  &::placeholder {
    color: fade(@gray-color, 60);
    font-weight: bold;
  }
  &:disabled {
    background: fade(@gray-color, 20);
  }
}
.custom-input-gray-border {
  outline: none;
  border: none;
  height: 48px;
  line-height: 48px;
  border-radius: 12px;
  border: 1px solid #aaa49f;
  font-size: 18px;
  color: @p-color;
  text-indent: 20px;
  font-weight: bold;
  width: 100%;
  &::placeholder {
    color: fade(@gray-color, 60);
    font-weight: bold;
  }
  &:disabled {
    background: fade(@gray-color, 20);
  }
}
.custom-btn-orange-border {
  padding: 12px 30px;
  box-sizing: border-box;
  border: 1px solid #ffa348;
  color: #ffa348;
  align-items: center;
  cursor: pointer;
  border-radius: 12px;
  font-weight: bold;
  width: fit-content;
}

.green {
  color: #1eac49 !important;
}
.orange {
  color: @s-color !important;
}
.fredoka {
  font-family: @fre-font;
}
